package de.gbeine.java.depview.event;

import de.gbeine.java.depview.model.Element;
import edu.uci.ics.jung.graph.Graph;

/**
 *
 * @author gbeine
 *
 */
public final class ChangeGraphEvent extends Event {

    /**
     *
     */
    private final Graph<Element, Number> graph;

    /**
     *
     * @param pSource
     * @param pFilename
     */
    public ChangeGraphEvent(final Object pSource, final Graph<Element, Number> pGraph) {
        super(pSource);
        this.graph = pGraph;
    }

    public Graph<Element, Number> getGraph() {
        return this.graph;
    }
}
